package com.baizhiedu.rsm.service.impl;


import com.baizhiedu.rsm.dao.ScheduleDao;
import com.baizhiedu.rsm.entity.Schedule;
import com.baizhiedu.rsm.service.ScheduleServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScheduleServcieImpl implements ScheduleServcie {
    @Autowired
    private ScheduleDao scheduleDao;

    @Override
    public List<Schedule> showAll() {
        return scheduleDao.selectAll();
    }
}
